package com.gyaruo;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

import com.gyaruo.R.id;

public class SecondActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.second);

		Button button1 = (Button) findViewById(id.button1);
		button1.setOnClickListener(new OnClickListener() {
			public void onClick(View v) {
				Intent intent = new Intent(SecondActivity.this,
						HelloWorldActivity.class);// Intent縺ｯ逕ｻ髱｢驕ｷ遘ｻ縺ｮ繝｡繝�そ繝ｼ繧ｸ
				startActivity(intent);

			}
		});
	}

}
